package com.zzyk.main.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzyk.main.mapper.DeviceGroupMapper;
import com.zzyk.main.mapper.DeviceMapper;
import com.zzyk.main.model.pojo.Device;
import com.zzyk.main.model.pojo.DeviceGroup;
import com.zzyk.main.service.DeviceGroupService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DeviceGroupServiceImpl extends ServiceImpl<DeviceGroupMapper, DeviceGroup> implements DeviceGroupService {
    @Resource
    private DeviceMapper deviceMapper;

    @Override
    public List<Device> getDeviceList(List<Integer> deviceIds, String param) {
        return deviceMapper.selectAllInId(deviceIds, param);
    }
}











